package org.lendoo.web.mapper;

import org.apache.ibatis.annotations.Param;
import org.lendoo.web.entity.RelGoodsImage;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * RelGoodsImage的mapper类
 */
@Repository
public interface RelGoodsImageMapper extends EasyBaseMapper<RelGoodsImage> {

    /**
     * 根据商品id，查找对应的图片url列表
     * @param goodsId
     * @return
     */
    List<String> findGoodsImageUrlListByGoodsId(@Param("goodsId") Integer goodsId);
}